package com.tscnd.core.exception;

public class ServerException extends Exception{

	private static final long serialVersionUID = -3490341643164348155L;
	
	/**
	 * 错误码
	 */
	private String errorCode;

	public ServerException() {
		super();
	}


	public ServerException(String message,Exception e) {
		super(message,e);
	}
	
	public ServerException(String message) {
		super(message);
	}

	public ServerException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public String getErrorCode() {
		return errorCode;
	}

}
